import { ref } from 'vue'
const count = ref(0)

const useCount = function () {
  return {
    count,
    handleMinus: () => count.value--,
    handleAdd: () => count.value++
  }
}

export {
  useCount
}
